#ifndef _GAME_H_
#define _GAME_H_

#include "player.h"
#include "maze.h"

typedef struct {
	Maze*		maze;
	int			playerCount;
	Player**	players;
} Game;

Game*	Game_create(int mazeSizeX, int mazeSizeY, int playerCount);
void	Game_destroy(Game* game);
void	Game_init(Game* game);
void	Game_randomizePlayerPosition(Game* game, int playerIdx);
int		Game_setPlayerPosition(Game* game, int playerIdx, int posX, int posY);
int		Game_movePlayerBy(Game* game, int playerIdx, int dx, int dy);
void	Game_draw(Game* game, int left, int top, int width, int height, int playerIdx, int playerViewRadius);

#endif